import { PrismaClient } from "@prisma/client";
import { NextResponse } from "next/server";

export const GET = async () => {

    const prisma = new PrismaClient();
    const items = await prisma.user_items.findMany();

    return NextResponse.json(JSON.stringify(items));
}